package com.example.hszpad.bean;

public class MenuItemBean {
    private MenuItemBean parent;
    private int id;
    private String name;
    private int address;
    private int icon;
    private boolean select;

    public MenuItemBean(int id, String name, int address) {
        this.id = id;
        this.name = name;
        this.address = address;
    }

    public MenuItemBean(int id, String name, int address, int icon) {
        this.id = id;
        this.name = name;
        this.address = address;
        this.icon = icon;
    }

    public MenuItemBean(int id, String name, int address, int icon, boolean select) {
        this.id = id;
        this.name = name;
        this.address = address;
        this.icon = icon;
        this.select = select;
    }

    public MenuItemBean(MenuItemBean parent, int id, String name, int address, int icon, boolean select) {
        this.parent = parent;
        this.id = id;
        this.name = name;
        this.address = address;
        this.icon = icon;
        this.select = select;
    }

    public MenuItemBean() {
    }

    public boolean isSelect() {
        return select;
    }

    public void setSelect(boolean select) {
        this.select = select;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAddress() {
        return address;
    }

    public void setAddress(int address) {
        this.address = address;
    }

    public int getIcon() {
        return icon;
    }

    public void setIcon(int icon) {
        this.icon = icon;
    }

    public MenuItemBean getParent() {
        return parent;
    }

    public void setParent(MenuItemBean parent) {
        this.parent = parent;
    }
}
